//
//  SAUserInfo.h
//  yidiantong
//
//  Created by 黄志刚 on 2020/10/10.
//

#import <Foundation/Foundation.h>

@class StoreInfoDic,CardFormDic;
@interface SAUserInfo : NSObject<NSCoding>

@property (nonatomic, copy) NSString *empName;//店员名称
@property (nonatomic, copy) NSString *empId;//店员id
@property (nonatomic, copy) NSString *empType;//店员type
@property (nonatomic, copy) NSString *mobile;//手机号码
@property (nonatomic, copy) NSString *storeName;//店铺名称
@property (nonatomic, copy) NSString *token;//
@property (nonatomic, copy) NSString *userName;//名字
@property (nonatomic, assign) NSInteger defaultPriceType;//默认销售价格 1-批发价 2-零售价 3-大客价
@property (nonatomic, assign) NSInteger merchantId;//商户编号
@property (nonatomic, assign) NSInteger userType;//用户类型 1-商户 2-店长 3-员工
@property (nonatomic, copy) NSString *password;//用户密码
@property (nonatomic, assign) BOOL rememberPassword;//是否记住密码
@property (nonatomic, strong) StoreInfoDic *storeInfo;//店铺详情信息
@property (nonatomic, copy) NSString *auditStatus;//审核转态
@property (nonatomic, copy) NSString *forceOpenPay;////1 强制审核
@property (nonatomic, strong) NSMutableArray *menuList;
@property (nonatomic, strong) NSString *payChannel;//支付通道
@property (nonatomic, strong) NSString *isVip;//是否已经购买了vip
@property (nonatomic, strong) NSString *isMarketingOpen;//是否弹出购买vip优惠页面

@end
//
@interface StoreInfoDic : NSObject<NSCoding>

@property (nonatomic,copy) NSString *storeName;//商户名称
@property (nonatomic,copy) NSString *warnDesc;//提醒
@property (nonatomic,copy) NSString *remarks;//备注信息
@property (nonatomic,copy) NSString *logoPic;//店铺logo
@property (nonatomic,copy) NSString *contactPhone;//联系电话
@property (nonatomic,copy) NSString *address;//门店地址
@property (nonatomic, assign) NSInteger storeId;//
@property (nonatomic, assign) NSInteger storeType;//店铺类型 0-商户直属门店 1-分店
@property (nonatomic, assign) NSInteger defaultPriceType;//默认销售价格 1-批发价 2-零售价 3-大客价
@property (nonatomic, strong) CardFormDic *cardForm;//店铺详情信息
@property (nonatomic,copy) NSString *wxQrCode;//店铺微信二维码

@end

@interface CardFormDic : NSObject<NSCoding>

@property(nonatomic,copy) NSString *bankCardNo;//银行卡号
@property(nonatomic,copy) NSString *bankName;//开户行(银行名称)
@property(nonatomic,copy) NSString *holder;//户名(持卡人姓名)
@property (nonatomic, assign) NSInteger storeCardId;//ID

@end

